"""
_*_ : utf-8 _*_ 
@Time: 2023/10/30 21:33
@Author: LWK
@File: 043_函数的定义和调用
@Project: demo01
"""


def f1(a):
    print('接受参数：' + str(a))


def sum_int(a, b):
    print(str(a) + '+' + str(b) + ' = ' + str(a + b))
    return int(a) + int(b)


for i in range(10):
    f1(i)

sum_count = 0
for i in range(100, 0, -1):
    sum_count = sum_int(i, sum_count)

print(sum_count)

# 关键字传参 不推荐
print(sum_int(b=100, a=0))
